package com.youdoneed.common.service;

import com.youdoneed.base.application.ResultMessage;
import com.youdoneed.common.model.FileInfo;
import com.youdoneed.common.model.VersionInfo;
import com.youdoneed.common.model.VideoScreenShotImg;

import org.bytedeco.javacv.FrameGrabber;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author Ewing
 * @since 2017-04-21
 **/
public interface VersionService {

    /**
     * 获取最新版本信息
     * @return
     */
    VersionInfo getNewestVersionInfo();


    /**
     * 上传最新版本号
     * @param versionCode
     * @param versionName
     * @param description
     * @param apkFile
     */
    long upLoadNewApk(int versionCode,String versionName,String description, MultipartFile apkFile);

}
